home *** CD-ROM | disk | FTP | other *** search
- rem TempClean for MS-DOS version 1. Alton Nutile
- rem or Milan Jaukovic cannot take responsibilty
- rem for any lost data after using TempClean.
- rem This file is freeware and can be distributed
- rem in its original archive. All trademarks are
- rem hereby acknowlegded.
-
- @echo off
- echo.
- echo ________ _____ __ __ ____
- echo [__ __] [ __] [ \ / ] [ _ \
- echo [ ] [ [_ [ \ / ] [ ]_[ ▌
- echo [ ] [ _] [ \/ ] [ __/
- echo [ ] [ [__ [ ]\__/[ ] [ ]
- echo [__] [_____] [__] [__] [__]
- echo CLEAN FOR
- echo version 1. MS-DOS.
- echo By Alton Nutile.
- echo.
- echo.
- echo Many programs in Windows and MS-DOS make temporary
- echo files to store data in if there is not enough free
- echo memory. The programs usually delete the temporary
- echo files on exit, but many fail to do so and leave a
- echo large amount of files wasting space. This program
- echo will empty the directories that store temp files,
- echo namely the
- echo.
- echo C:\TEMP and
- echo C:\WINDOWS\TEMP
- echo.
- choice /c:YN directories. Do you want to go ahead
- if errorlevel 2 goto Finish
- if errorlevel 1 goto Start1
-
-
- :Start1
- echo.
- cd\
- cd\temp
- if not exist *.* goto Start2
- del *.*
-
-
- :Start2
- echo.
- cd\
- cd\windows\temp
- if not exist *.* goto Finish
- del *.*
-
-
- :Finish
- echo.
- echo Thank you for using TempClean for MS-DOS, based on
- echo TempClean for Windows by Milan Jaukovic. You can
- echo e-mail Alton Nutile at alton.nutile@cwcom.net with
- echo comments, suggestions or fault reporting.
- echo.
-
-
- :End
- cd\
- pause